<?php			
class SystemLog_Form_SystemLog_Detail extends Zend_Form
{
	public function __construct(Zend_Controller_Action $controller)
	{
		//system_log_user
		$system_log_user=$this->createElement ( 'text', 'system_log_user' )
		->setLabel ( $controller->getHelper('common')->getCaption('system_log_user' ))
		->setDescription ( $controller->getHelper('common')->getDescription('system_log_user' ))
		->setAttrib ( 'class','lock' )
		;
		
		//system_log_time
		$system_log_time=$this->createElement ( 'text', 'system_log_time' )
		->setLabel ( $controller->getHelper('common')->getCaption('system_log_time' ))
		->setDescription ( $controller->getHelper('common')->getDescription('system_log_time' ))
		->setAttrib ( 'class','lock' )
		;
		
		//system_log_url
		$system_log_url=$this->createElement ( 'textarea', 'system_log_url' )
		->setLabel ( $controller->getHelper('common')->getCaption('system_log_url' ))
		->setDescription ( $controller->getHelper('common')->getDescription('system_log_url' ))
		->setAttrib ( 'class','lock' )
		;
		
		//system_log_param
		$system_log_param=$this->createElement ( 'textarea', 'system_log_param' )
		->setLabel ( $controller->getHelper('common')->getCaption('system_log_param' ))
		->setDescription ( $controller->getHelper('common')->getDescription('system_log_param' ))
		->setAttrib ( 'class','lock' )
		;
		
		//system_log_module
		$system_log_module=$this->createElement ( 'text', 'system_log_module' )
		->setLabel ( $controller->getHelper('common')->getCaption('system_log_module' ))
		->setDescription ( $controller->getHelper('common')->getDescription('system_log_module' ))
		->setAttrib ( 'class','lock' )
		;
		
		//system_log_controller
		$system_log_controller=$this->createElement ( 'text', 'system_log_controller' )
		->setLabel ( $controller->getHelper('common')->getCaption('system_log_controller' ))
		->setDescription ( $controller->getHelper('common')->getDescription('system_log_controller' ))
		->setAttrib ( 'class','lock' )
		;
		
		//system_log_action
		$system_log_action=$this->createElement ( 'text', 'system_log_action' )
		->setLabel ( $controller->getHelper('common')->getCaption('system_log_action' ))
		->setDescription ( $controller->getHelper('common')->getDescription('system_log_action' ))
		->setAttrib ( 'class','lock' )
		;
		
		//Textarea action-note
		$action_note = $this->createElement ( 'textarea', 'action_note' )
		->setLabel ( $controller->getHelper('common')->getCaption('action_note' ))
		->setDescription ( $controller->getHelper('common')->getDescription('action_note' ))
		->setAttrib ( 'class','lock' )
		;
		
		$this->addElements ( array (
			$system_log_user,
			$system_log_time,
			$system_log_url,
			//$system_log_param,
			//$system_log_module,
			//$system_log_controller,
			//$system_log_action,
			$action_note
		) );	
		
		$controller->getHelper ( 'common' )->form ( $this );
	}
}